package com.engine.cn.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties("custom.service")
public class CustomProperties {
    private String name = "default";
    private int timeout = 1000;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }
}
